package com.littlepay.kr4.paulin.dfeba77.utils;

import java.util.Locale;

/**
 * Created by 77dfeba on 2017/5/31.
 * 根据当前地区获取相应货币符号
 */

public class CurrencySymbolUtil {
    public String getCurrencySymbol(){
        String currencySymbol = "";
        if(LocalUtil.getLocal() == Locale.CHINA){
            currencySymbol = "￥";
        }else if(LocalUtil.getLocal() == Locale.US){
            currencySymbol = "$";
        }else if(LocalUtil.getLocal() == Locale.UK){
            currencySymbol = "£";
        }else {
            currencySymbol = "￥";
        }
        return currencySymbol;
    }
}
